<?
require_once('phpbigtable.php');
echo "*** Adding a new user to the database...\n";
$entity = new Entity('User');
$entity->setProperty('name',USER);
$entity->setProperty('password',uniqid());
$entity->setProperty('email','toto@example.com');
$ds = java_class('DatastoreServiceFactory')->getDatastoreService();
$ds->put($entity);
define('ENTITY_ID',$entity->getKey()->getId());
?>
